<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">
        <meta name="description" content="Test on HTML and CSS">
        <meta name="author" content="Huoty">
        <meta http-equiv="refresh" content="30">
        <title>Web 设计</title>
        <link rel="shortcut icon" href="http://konghy.cn/favicon.ico" type="image/x-icon" />
    </head>
    <body>
JavaScript 函数参数
    </body>
</html> 
<script type="text/javascript">
"use strict";

function foo(a, b, c) {
    console.info(a);
    console.info(b);
    console.info(c);
}

foo(1);
foo(1, 2);
foo(1, 2, 3);
foo(1, 2, 3, 4);
</script>
